home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / UNLOCK.z / UNLOCK
Encoding:
Text File  |  1998-10-30  |  3.6 KB  |  66 lines

  1.  
  2.  
  3.  
  4. UUUUNNNNLLLLOOOOCCCCKKKK((((DDDD3333))))                                                          UUUUNNNNLLLLOOOOCCCCKKKK((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _UUUU_NNNN_LLLL_OOOO_CCCC_KKKK - release a basic lock
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_kkkk_ssss_yyyy_nnnn_cccc_hhhh_...._hhhh_>>>>
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  15.      _vvvv_oooo_iiii_dddd _UUUU_NNNN_LLLL_OOOO_CCCC_KKKK_((((_llll_oooo_cccc_kkkk______tttt _****_l_o_c_k_p_,,,, _iiii_nnnn_tttt _p_l_))))_;;;;
  16.  
  17.    AAAArrrrgggguuuummmmeeeennnnttttssss
  18.      _l_o_c_k_p     Pointer to the basic lock to be released.
  19.  
  20.      _p_l        The interrupt priority level to be set after releasing the
  21.                lock.  This argument should be the value returned by _LLLL_OOOO_CCCC_KKKK.
  22.  
  23. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.      _UUUU_NNNN_LLLL_OOOO_CCCC_KKKK releases the basic lock specified by _l_o_c_k_p and then sets the
  25.      interrupt priority level in accordance with the value specified by _p_l.
  26.  
  27.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  28.      None
  29.  
  30. UUUUSSSSAAAAGGGGEEEE
  31.      See the description of the _m_i_n__p_l argument to _LLLL_OOOO_CCCC_KKKK______AAAA_LLLL_LLLL_OOOO_CCCC(D3) for a list
  32.      of the valid values for _p_l.  If lock calls are not being nested or if the
  33.      caller is unlocking in the reverse order that locks were acquired, the _p_l
  34.      argument should be the value that was returned from the corresponding
  35.      call to acquire the lock.  The caller may need to specify a different
  36.      returned value by other _LLLL_OOOO_CCCC_KKKK for _p_l if nested locks are released in some
  37.      order other than the reverse order of acquisition, so as to ensure that
  38.      the interrupt priority level is kept sufficiently high to block interrupt
  39.      code that might attempt to acquire locks which are still held.
  40.  
  41.    LLLLeeeevvvveeeellll
  42.      Base or Interrupt.
  43.  
  44.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  45.      Does not sleep.
  46.  
  47.      Driver-defined basic locks, read/write locks, and sleep locks may be held
  48.      across calls to this function.
  49.  
  50. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  51.      _LLLL_OOOO_CCCC_KKKK(D3), _LLLL_OOOO_CCCC_KKKK______AAAA_LLLL_LLLL_OOOO_CCCC(D3), _LLLL_OOOO_CCCC_KKKK______DDDD_EEEE_AAAA_LLLL_LLLL_OOOO_CCCC(D3), _TTTT_RRRR_YYYY_LLLL_OOOO_CCCC_KKKK(D3)
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.